package com.empire.module.member.controller.admin.mappolygonlog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 多边形操作日志 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MapPolygonLogRespVO {

    @Schema(description = "日志ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26055")
    @ExcelProperty("日志ID")
    private Long id;

    @Schema(description = "多边形ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7148")
    @ExcelProperty("多边形ID")
    private String polygonId;

    @Schema(description = "操作类型：1-创建，2-更新，3-删除", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("操作类型：1-创建，2-更新，3-删除")
    private Integer operateType;

    @Schema(description = "操作内容（JSON格式存储变更详情）")
    @ExcelProperty("操作内容（JSON格式存储变更详情）")
    private String content;

    @Schema(description = "操作人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28013")
    @ExcelProperty("操作人ID")
    private String operatorId;

    @Schema(description = "操作人名称", example = "张三")
    @ExcelProperty("操作人名称")
    private String operatorName;

    @Schema(description = "操作时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("操作时间")
    private LocalDateTime operateTime;

    @Schema(description = "操作IP地址")
    @ExcelProperty("操作IP地址")
    private String ip;

}